﻿using Lhz.Framework.Test.Entity;
using System.Web.Services;

namespace Lhz.Framework.Test.Service
{
    /// <summary>
    /// WebServiceTest 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    public class WebServiceTest : WebService
    {
        [WebMethod]
        public int GetStringArrayLength(string[] array)
        {
            return array.Length;
        }

        [WebMethod]
        public int GetBookArrayLength(Book[] books)
        {
            return books.Length;
        }
    }
}
